Skip to content

PR2: Add matlab.unittest suite and MATLAB CI#9

Merged
iahncajigas merged 1 commit intomasterfrom
codex/pr2-tests-ci-matlab
Mar 5, 2026
Merged

PR2: Add matlab.unittest suite and MATLAB CI#9
iahncajigas merged 1 commit intomasterfrom
codex/pr2-tests-ci-matlab

Conversation

@iahncajigas
Copy link
Copy Markdown
Collaborator

Summary

Adds deterministic MATLAB test/CI scaffolding for nSTAT:

  • run_tests.m local/CI test entrypoint with JUnit output
  • tests/ test suite:
    • TestFixtures (fixture presence checks)
    • TestParityAgainstBaseline (legacy + modern parity integration checks)
    • TestPlotStyleApi (plot style API tests; skipped by assumption when PR1 APIs are absent)
  • GitHub Actions workflow:
    • .github/workflows/matlab-ci.yml
    • Uses matlab-actions/run-command@v2 on self-hosted macOS runner
    • Uploads JUnit artifact
  • Minor housekeeping:
    • .gitignore now ignores test-results/
    • docs/DEVPLAN.md includes run_tests local command

Local verification

Executed on MATLAB 2025b:

addpath('/Users/iahncajigas/Library/CloudStorage/Dropbox/Research/Matlab/nSTAT_currentRelease_Local/tools');
run_tests('IncludeParity',true,'OutputXml',fullfile('test-results','results.xml'));

Observed result:

  • TestFixtures: PASS
  • TestParityAgainstBaseline:
    • legacy parity PASS
    • modern parity PASS
  • TestPlotStyleApi: filtered (expected on branches without PR1 style APIs)
  • Overall test run exits success.

Notes

  • This PR is intentionally compatible with master both before and after PR1 merge.
  • Once PR1 is merged, TestPlotStyleApi executes instead of filtering.

Parity: PASS (numeric)

Plots: PASS (structure)
@iahncajigas iahncajigas merged commit 005fd31 into master Mar 5, 2026
0 of 3 checks passed
@iahncajigas iahncajigas deleted the codex/pr2-tests-ci-matlab branch March 5, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant